Add whichmodel-haystack integration — cost-aware LLM model selection#468
Open
simonamsharp wants to merge 2 commits intodeepset-ai:mainfrom
Open
Add whichmodel-haystack integration — cost-aware LLM model selection#468simonamsharp wants to merge 2 commits intodeepset-ai:mainfrom
simonamsharp wants to merge 2 commits intodeepset-ai:mainfrom
Conversation
Adds the WhichModel integration listing for whichmodel-haystack 0.1.0, a custom component that provides cost-aware LLM model selection via the WhichModel MCP recommendation engine. PyPI: https://pypi.org/project/whichmodel-haystack/ Co-Authored-By: Paperclip <noreply@paperclip.ing>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
There was a problem hiding this comment.
Pull request overview
Adds a new integration listing for whichmodel-haystack, a Haystack custom component that selects an LLM via the public WhichModel recommendation service before downstream generation.
Changes:
- Adds
integrations/whichmodel.mdwith front matter, overview, installation, and usage examples. - Documents
WhichModelRouterinputs and outputs for cost-aware model selection. - Links the listing to the published PyPI package and source repository.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+17
to
+22
| ### **Table of Contents** | ||
|
|
||
| - [Overview](#overview) | ||
| - [Installation](#installation) | ||
| - [Usage](#usage) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
whichmodel-haystackintegration listing for theWhichModelcustom component.The
WhichModelRoutercomponent calls the WhichModel MCP recommendation engine to select the most cost-effective LLM for a given task type and complexity — before routing to a generator. No API key required; it calls the public endpoint.Key features:
model_id,provider,confidence, full recommendation, alternative, and budget modelto_dict/from_dictfor pipeline persistenceChecklist
pytest tests/ -v)